Scroll to navigation

PACKAGE-CLEANUP(1) dnf-plugins-core PACKAGE-CLEANUP(1)

NAME

package-cleanup - clean up locally installed, duplicate, or orphaned packages.

A DNF-based shim imitating the original YUM-based package-cleanup utility.

SYNOPSIS

package-cleanup [options]

OPTIONS

List leaf nodes in the local RPM database. Leaf nodes are RPMs that are not relied upon by any other RPM. Maps to dnf repoquery --unneeded.
List installed packages which are not available from currently configured repositories. Maps to dnf repoquery --extras.
List dependency problems in the local RPM database. Maps to dnf repoquery --unsatisfied.
Scan for duplicates in the local RPM database. Maps to dnf repoquery --duplicates.
Scan for duplicates in the local RPM database and clean out the older versions. Maps to dnf remove --duplicates.

EXAMPLES

List all dependency problems.
List all packages that are not in any DNF repository.
Remove all packages that have a duplicate installed.

AUTHOR

See AUTHORS in your Core DNF Plugins distribution

COPYRIGHT

2014, Red Hat, Licensed under GPLv2+

April 15, 2021 4.0.2.2